<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var str=[1,2,3,4];
			alert(str[1]);
		</script>
	</body>
</html>
